﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="class.aspx.cs" Inherits="BS.Web.admin._class" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link type="text/css" rel="Stylesheet" href="style/main.css" />
    <style type="text/css">
        .top{height:30px;line-height:30px;padding-left:7px;border-bottom:solid 1px #AAA;position:fixed;top:0px;left:0px;right:0px;white-space:nowrap;background-color:#CCC;font:微软雅黑 宋体 arial;font-size:14px;}
        .class-add table{font:微软雅黑 宋体 arial;font-size:14px;margin-top:35px;}
        .class-add tr{height:30px;}
        .line{border-top:1px dashed #CCC;height:1px;overflow:hidden;margin:5px 0px;}
        .class-list{margin-top:35px;}
        .class-list table{text-align:center;width:520px;}
        .class-list tr{height:30px;}
        .class-list .head{border-bottom:solid 1px #AAA;width:537px;}
        .class-list .body{height:216px;width:537px;overflow:auto;}
        .class-list .body table td{border-bottom:solid 1px #AAA;}

        .class-list .selector{width:40px;overflow:hidden;}
        .class-list .name{width:120px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;}
        .class-list .desc{width:360px;line-height:30px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;}   
    </style>
    <script type="text/javascript" src="script/jquery-1.7.1.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('.class-add').hide();
            $('#btnAdd').click(function () {
                $('.class-add').show('fast', function () {
                    $('#btnAdd').prop('disabled', 'disabled');
                });
            });
            $('#btnAddCancel').click(function () {
                $('.class-add').hide('fast', function () {
                    $('#btnAdd').prop('disabled', '');
                });
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="top">
            <input type="checkbox" />
                <input type="button" value="Delete" style="height:26px;" />
                <input type="button" id="btnAdd" value="Add" style="height:26px;" />
                <asp:Button ID="Button3" runat="server" Text="Cancel" Height="26" />
        </div>
        <div class="class-add">
            <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td align="right">Name:</td>
                    <td><asp:TextBox ID="TextBox1" runat="server" Width="300"></asp:TextBox></td>
                </tr>
                <tr>
                    <td align="right">Description:</td>
                    <td><textarea cols="50" rows="3" style="margin:0px;width:300px;"></textarea></td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <input type="button" value="Save" />
                        <input type="button" id="btnAddCancel" value="Cancel" />
                    </td>
                </tr>
            </table>
        </div>
        <div class="line"></div>
        <div class="class-list">
            <div class="head">
                <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="selector"></td>
                        <td class="name"><div class="name">Name</div></td>
                        <td class="desc"><div class="desc">Description</div></td>
                    </tr>
                </table>
            </div>
            <div class="body">
                <table border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="selector"><input type="checkbox" /></td>
                        <td class="name"><div class="name">C</div></td>
                        <td class="desc"><div class="desc">C computer language.C computer language.C computer language</div></td>
                    </tr>
                    <tr>
                        <td class="selector"><input type="checkbox" /></td>
                        <td class="name"><div class="name">C</div></td>
                        <td class="desc"><div class="desc">C computer language.C computer language.C computer language</div></td>
                    </tr>
                    <tr>
                        <td class="selector"><input type="checkbox" /></td>
                        <td class="name"><div class="name">C</div></td>
                        <td class="desc"><div class="desc">C computer language.C computer language.C computer language</div></td>
                    </tr>
                    <tr>
                        <td class="selector"><input type="checkbox" /></td>
                        <td class="name"><div class="name">C</div></td>
                        <td class="desc"><div class="desc">C computer language.C computer language.C computer language</div></td>
                    </tr>
                    <tr>
                        <td class="selector"><input type="checkbox" /></td>
                        <td class="name"><div class="name">C</div></td>
                        <td class="desc"><div class="desc">C computer language.C computer language.C computer language</div></td>
                    </tr>
                    <tr>
                        <td class="selector"><input type="checkbox" /></td>
                        <td class="name"><div class="name">C</div></td>
                        <td class="desc"><div class="desc">C computer language.C computer language.C computer language</div></td>
                    </tr>
                    <tr>
                        <td class="selector"><input type="checkbox" /></td>
                        <td class="name"><div class="name">C</div></td>
                        <td class="desc"><div class="desc">C computer language.C computer language.C computer language</div></td>
                    </tr>
                    <tr>
                        <td class="selector"><input type="checkbox" /></td>
                        <td class="name"><div class="name">C</div></td>
                        <td class="desc"><div class="desc">C computer language.C computer language.C computer language</div></td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
